package com.yuanhua.xcxmng.wechat.mapper;

import com.yuanhua.xcxmng.wechat.entity.User;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    List<User> findAllUser();

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    User findUserByOpenId(String openId);

    List<User> orderByStep();

    List<User> orderByNo();
}